using System;
using System.Collections.Generic;

using PlugNT.Common;
using PlugNT.Cms.Custom;
using PlugNT.Cms.Model;

namespace PlugNT.App.Bbs.Model
{




    public class BbsModelInfo : SysModelInfo
    {


        public int user_add_topic_integral;

        public int user_add_reply_integral;

        public int user_del_topic_integral;

        public int user_del_reply_integral;

        public int user_today_count;

        public int channel_layer;

        public int topic_pagesize;

        public int reply_pagesize;




        public override void ArrBind()
        {
            string[] sArr = arr_str.Split(',');
            int tLen = sArr.Length;
            int tFlag = 0;

            user_add_topic_integral = (tLen > tFlag) ? (Utils.IsNumeric(sArr[tFlag]) ? int.Parse(sArr[tFlag]) : 0) : 0;
            user_add_reply_integral = (tLen > ++tFlag) ? (Utils.IsNumeric(sArr[tFlag]) ? int.Parse(sArr[tFlag]) : 0) : 0;
            user_del_topic_integral = (tLen > ++tFlag) ? (Utils.IsNumeric(sArr[tFlag]) ? int.Parse(sArr[tFlag]) : 0) : 0;
            user_del_reply_integral = (tLen > ++tFlag) ? (Utils.IsNumeric(sArr[tFlag]) ? int.Parse(sArr[tFlag]) : 0) : 0;
            user_today_count = (tLen > ++tFlag) ? (Utils.IsNumeric(sArr[tFlag]) ? int.Parse(sArr[tFlag]) : 0) : 0;
            channel_layer = (tLen > ++tFlag) ? (Utils.IsNumeric(sArr[tFlag]) ? int.Parse(sArr[tFlag]) : 0) : 0;
            topic_pagesize = (tLen > ++tFlag) ? (Utils.IsNumeric(sArr[tFlag]) ? int.Parse(sArr[tFlag]) : 0) : 0;
            reply_pagesize = (tLen > ++tFlag) ? (Utils.IsNumeric(sArr[tFlag]) ? int.Parse(sArr[tFlag]) : 0) : 0;




        }

    }


}

